<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Laravel练习系统-@yield('title')</title>

    <!-- Bootstrap -->
    <link href="{{URL::asset('assets/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
    <link href="{{URL::asset('assets/bootstrap/css/mycss.css')}}" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>

    </style>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <p class="navbar-brand"><span class="glyphicon glyphicon-education blackcolor"
                                          aria-hidden="true"></span><span class="blackcolor">Laravel练习系统</span></p>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="{{url('home')}}">首页</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">Laravel框架学习 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="{{url('LaravelAporia')}}">难点解析</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="{{url('uploadimage')}}">上传图片</a></li>
                        <li><a href="{{url('dispimg')}}">显示图片</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">二进制字段操作 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="{{url('BlobAporia')}}">难点解析</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="{{url('uploadimage')}}">上传图片</a></li>
                        <li><a href="{{url('dispimg')}}">显示图片</a></li>
                    </ul>
                </li>
                <li><a href="{{url('GitAporia')}}">Git使用经验</a></li>

            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false"><span class="glyphicon glyphicon-user"
                                                   aria-hidden="true"></span>{{isset(Auth::user()->name)?Auth::user()->name:'客人'}}
                        <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="{{url('auth/login')}}">登录</a></li>
                        <li><a href="{{url('auth/register')}}">注册</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="{{url('auth/logout')}}">退出登录</a></li>
                    </ul>
                </li>
            </ul>
        </div>


    </div>
</nav>


@yield('framework')


<footer>
    <nav class="navbar navbar-inverse navbar-fixed-bottom">
        <div class="container text-center">
            <div class="vertical-center">
                <p class="footerfont">&copy;copyright2016 power by laravel designed by <span
                            class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span>jackwong </p>
            </div>
        </div>
    </nav>
</footer>


<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="{{URL::asset('assets/bootstrap/js/jquery.min.js')}}"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{{URL::asset('assets/bootstrap/js/bootstrap.min.js')}}"></script>
</body>
</html>